import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { EntityBase } from "@/common/entities/entity.base";
@Entity()
export class SysConfig extends EntityBase {
    @PrimaryGeneratedColumn()
    id: number;
    
    @Column({ type: "int", comment: "应用标识", nullable: false, default: 1 })
    appType: number;
    
    @Column({ type: "int", comment: "解析类型：0-常规 1-企业", default: 0 })
    downType: number;
    
    @Column({ type: "text", comment: "dlink链接", nullable: true })
    dlink: string;
    
    @Column({ type: "varchar", comment: "md5", nullable: true })
    md5: string;
    
    @Column({ type: "varchar", comment: "版本号", nullable: true })
    toDiskDownVersion: string;
    
    @Column({ type: "text", comment: "下载器下载地址exe格式", nullable: true })
    downUrlExe: string;
    
    @Column({ type: "text", comment: "下载器下载地址zip格式", nullable: true })
    downUrlZip: string;
    
}
